<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head  th:with="title='百科——' + ${iiEncyclopedia.name}">
    <th:block th:include="site/common::header(${title})" />
    <link rel="stylesheet" th:href="@{/site/css/share.min.css}">
</head>
<body>
    <!-- 头部 -->
    <th:block th:include="site/common::navigation" />
    <!-- 面包屑 -->
    <div class="breadcroumb-area ">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="breadcroumb-title text-center">
                        <h1>百科详情</h1>
                        <h5>
                            <a href="/">首页</a><a href="/encyclopedia">/百科解答</a>/百科详情
                        </h5>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--内容-->
    <main class="main-content">
        <div class="latest-news_area our-classes-list_area">
            <div class="container">
                <div class="row">
                    <div class="col-lg-8 order-1">
                        <div class="single-blog-wrap">
                            <h2>[[*{iiEncyclopedia.name}]]</h2>
                            <div class="content" th:utext="${iiEncyclopedia.content}"></div>
                        </div>
                        <div class="social-share"></div>
                    </div>
                    <div class="col-lg-4 order-2">
                        <div class="sidebar-area event-sidebar_area">
                            <div class="popular-tag">
                                <h5>热门词条</h5>
                                <span class="active" th:each="encyclopedia:${hotEncyclopedias}">
                                    <a th:href="'/encyclopedia/' + ${encyclopedia.id}" target="_blank">[[*{encyclopedia.name}]]</a>
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>
    <!-- 底部 -->
    <th:block th:include="site/common::footer" />
</body>
<th:block th:include="site/common::js" />
<script th:src="@{/site/js/share.min.js}"></script>
</html>